<?php

use Illuminate\Routing\Router;
use Illuminate\Support\Facades\Route;


Route::group([
    'prefix'     => config('admin.route.prefix'),
    'namespace'  => config('admin.route.namespace'),
    'middleware' => config('admin.route.middleware'),
], function (Router $router) {
$router->resource('type','GrTypeController');
    $router->get('getType',[\App\Admin\Controllers\HomeController::class,'getType']);
    $router->get('twoType',[\App\Admin\Controllers\HomeController::class,'twoType']);
    $router->resource('comment','GrUserCommentController');
    $router->get('goods_id',[\App\Admin\Controllers\GrUserCommentController::class,'goods_id']);
    $router->resource('replay','GrReplyController');
});
